/*   1:    */ package org.jetbrains.jps.model.serialization;
/*   2:    */ 
/*   3:    */

import org.jdom.Element;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.jps.model.JpsCompositeElement;
import org.jetbrains.jps.model.JpsElementReference;
import org.jetbrains.jps.model.module.JpsDependencyElement;
import org.jetbrains.jps.model.module.JpsModule;
import org.jetbrains.jps.model.serialization.artifact.JpsArtifactExtensionSerializer;
import org.jetbrains.jps.model.serialization.artifact.JpsArtifactPropertiesSerializer;
import org.jetbrains.jps.model.serialization.artifact.JpsPackagingElementSerializer;
import org.jetbrains.jps.model.serialization.facet.JpsFacetConfigurationSerializer;
import org.jetbrains.jps.model.serialization.library.JpsLibraryPropertiesSerializer;
import org.jetbrains.jps.model.serialization.library.JpsLibraryRootTypeSerializer;
import org.jetbrains.jps.model.serialization.library.JpsSdkPropertiesSerializer;
import org.jetbrains.jps.model.serialization.module.JpsModuleClasspathSerializer;
import org.jetbrains.jps.model.serialization.module.JpsModulePropertiesSerializer;
import org.jetbrains.jps.model.serialization.module.JpsModuleSourceRootPropertiesSerializer;
import org.jetbrains.jps.model.serialization.runConfigurations.JpsRunConfigurationPropertiesSerializer;
import org.jetbrains.jps.service.JpsServiceManager;

import java.util.Collections;
import java.util.List;

/*   4:    */
/*   5:    */
/*   6:    */
/*   7:    */
/*   8:    */
/*   9:    */
/*  10:    */
/*  11:    */
/*  12:    */
/*  13:    */
/*  14:    */
/*  15:    */
/*  16:    */
/*  17:    */
/*  18:    */
/*  19:    */
/*  20:    */
/*  21:    */
/*  22:    */
/*  23:    */
/*  24:    */ 
/*  25:    */ public abstract class JpsModelSerializerExtension
/*  26:    */ {
/*  27:    */   public static Iterable<JpsModelSerializerExtension> getExtensions()
/*  28:    */   {
/*  29: 46 */     return JpsServiceManager.getInstance().getExtensions(JpsModelSerializerExtension.class);
/*  30:    */   }
/*  31:    */   
/*  32:    */   public void loadRootModel(@NotNull JpsModule paramJpsModule, @NotNull Element paramElement)
/*  33:    */   {
/*  34: 50 */     if (paramJpsModule == null) {
/*  35: 50 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "loadRootModel" }));
/*  36:    */     }
/*  37: 50 */     if (paramElement == null) {
/*  38: 50 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "1", "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "loadRootModel" }));
/*  39:    */     }
/*  40:    */   }
/*  41:    */   
/*  42:    */   public void saveRootModel(@NotNull JpsModule paramJpsModule, @NotNull Element paramElement)
/*  43:    */   {
/*  44: 53 */     if (paramJpsModule == null) {
/*  45: 53 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "saveRootModel" }));
/*  46:    */     }
/*  47: 53 */     if (paramElement == null) {
/*  48: 53 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "1", "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "saveRootModel" }));
/*  49:    */     }
/*  50:    */   }
/*  51:    */   
/*  52:    */   public void loadModuleOptions(@NotNull JpsModule paramJpsModule, @NotNull Element paramElement)
/*  53:    */   {
/*  54: 56 */     if (paramJpsModule == null) {
/*  55: 56 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "loadModuleOptions" }));
/*  56:    */     }
/*  57: 56 */     if (paramElement == null) {
/*  58: 56 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "1", "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "loadModuleOptions" }));
/*  59:    */     }
/*  60:    */   }
/*  61:    */   
/*  62:    */   public void saveModuleOptions(@NotNull JpsModule paramJpsModule, @NotNull Element paramElement)
/*  63:    */   {
/*  64: 59 */     if (paramJpsModule == null) {
/*  65: 59 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "saveModuleOptions" }));
/*  66:    */     }
/*  67: 59 */     if (paramElement == null) {
/*  68: 59 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "1", "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "saveModuleOptions" }));
/*  69:    */     }
/*  70:    */   }
/*  71:    */   
/*  72:    */   public List<JpsLibraryRootTypeSerializer> getLibraryRootTypeSerializers()
/*  73:    */   {
/*  74: 62 */     return Collections.emptyList();
/*  75:    */   }
/*  76:    */   
/*  77:    */   @NotNull
/*  78:    */   public List<JpsLibraryRootTypeSerializer> getSdkRootTypeSerializers()
/*  79:    */   {
/*  80: 67 */     List tmp3_0 = Collections.emptyList();
/*  81: 67 */     if (tmp3_0 == null) {
/*  82: 67 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "getSdkRootTypeSerializers" }));
/*  83:    */     }
/*  84: 67 */     return tmp3_0;
/*  85:    */   }
/*  86:    */   
/*  87:    */   public void loadModuleDependencyProperties(JpsDependencyElement paramJpsDependencyElement, Element paramElement) {}
/*  88:    */   
/*  89:    */   public void saveModuleDependencyProperties(JpsDependencyElement paramJpsDependencyElement, Element paramElement) {}
/*  90:    */   
/*  91:    */   @Nullable
/*  92:    */   public JpsElementReference<? extends JpsCompositeElement> createLibraryTableReference(String paramString)
/*  93:    */   {
/*  94: 78 */     return null;
/*  95:    */   }
/*  96:    */   
/*  97:    */   @Nullable
/*  98:    */   public String getLibraryTableLevelId(JpsElementReference<? extends JpsCompositeElement> paramJpsElementReference)
/*  99:    */   {
/* 100: 83 */     return null;
/* 101:    */   }
/* 102:    */   
/* 103:    */   @NotNull
/* 104:    */   public List<? extends JpsProjectExtensionSerializer> getProjectExtensionSerializers()
/* 105:    */   {
/* 106: 88 */     List tmp3_0 = Collections.emptyList();
/* 107: 88 */     if (tmp3_0 == null) {
/* 108: 88 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "getProjectExtensionSerializers" }));
/* 109:    */     }
/* 110: 88 */     return tmp3_0;
/* 111:    */   }
/* 112:    */   
/* 113:    */   @NotNull
/* 114:    */   public List<? extends JpsGlobalExtensionSerializer> getGlobalExtensionSerializers()
/* 115:    */   {
/* 116: 93 */     List tmp3_0 = Collections.emptyList();
/* 117: 93 */     if (tmp3_0 == null) {
/* 118: 93 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "getGlobalExtensionSerializers" }));
/* 119:    */     }
/* 120: 93 */     return tmp3_0;
/* 121:    */   }
/* 122:    */   
/* 123:    */   @NotNull
/* 124:    */   public List<? extends JpsModulePropertiesSerializer<?>> getModulePropertiesSerializers()
/* 125:    */   {
/* 126: 98 */     List tmp3_0 = Collections.emptyList();
/* 127: 98 */     if (tmp3_0 == null) {
/* 128: 98 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "getModulePropertiesSerializers" }));
/* 129:    */     }
/* 130: 98 */     return tmp3_0;
/* 131:    */   }
/* 132:    */   
/* 133:    */   @NotNull
/* 134:    */   public List<? extends JpsModuleSourceRootPropertiesSerializer<?>> getModuleSourceRootPropertiesSerializers()
/* 135:    */   {
/* 136:103 */     List tmp3_0 = Collections.emptyList();
/* 137:103 */     if (tmp3_0 == null) {
/* 138:103 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "getModuleSourceRootPropertiesSerializers" }));
/* 139:    */     }
/* 140:103 */     return tmp3_0;
/* 141:    */   }
/* 142:    */   
/* 143:    */   @NotNull
/* 144:    */   public List<? extends JpsLibraryPropertiesSerializer<?>> getLibraryPropertiesSerializers()
/* 145:    */   {
/* 146:108 */     List tmp3_0 = Collections.emptyList();
/* 147:108 */     if (tmp3_0 == null) {
/* 148:108 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "getLibraryPropertiesSerializers" }));
/* 149:    */     }
/* 150:108 */     return tmp3_0;
/* 151:    */   }
/* 152:    */   
/* 153:    */   @NotNull
/* 154:    */   public List<? extends JpsSdkPropertiesSerializer<?>> getSdkPropertiesSerializers()
/* 155:    */   {
/* 156:113 */     List tmp3_0 = Collections.emptyList();
/* 157:113 */     if (tmp3_0 == null) {
/* 158:113 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "getSdkPropertiesSerializers" }));
/* 159:    */     }
/* 160:113 */     return tmp3_0;
/* 161:    */   }
/* 162:    */   
/* 163:    */   @NotNull
/* 164:    */   public List<? extends JpsFacetConfigurationSerializer<?>> getFacetConfigurationSerializers()
/* 165:    */   {
/* 166:118 */     List tmp3_0 = Collections.emptyList();
/* 167:118 */     if (tmp3_0 == null) {
/* 168:118 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "getFacetConfigurationSerializers" }));
/* 169:    */     }
/* 170:118 */     return tmp3_0;
/* 171:    */   }
/* 172:    */   
/* 173:    */   @NotNull
/* 174:    */   public List<? extends JpsPackagingElementSerializer<?>> getPackagingElementSerializers()
/* 175:    */   {
/* 176:123 */     List tmp3_0 = Collections.emptyList();
/* 177:123 */     if (tmp3_0 == null) {
/* 178:123 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "getPackagingElementSerializers" }));
/* 179:    */     }
/* 180:123 */     return tmp3_0;
/* 181:    */   }
/* 182:    */   
/* 183:    */   @NotNull
/* 184:    */   public List<? extends JpsArtifactPropertiesSerializer<?>> getArtifactTypePropertiesSerializers()
/* 185:    */   {
/* 186:128 */     List tmp3_0 = Collections.emptyList();
/* 187:128 */     if (tmp3_0 == null) {
/* 188:128 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "getArtifactTypePropertiesSerializers" }));
/* 189:    */     }
/* 190:128 */     return tmp3_0;
/* 191:    */   }
/* 192:    */   
/* 193:    */   @NotNull
/* 194:    */   public List<? extends JpsArtifactExtensionSerializer<?>> getArtifactExtensionSerializers()
/* 195:    */   {
/* 196:133 */     List tmp3_0 = Collections.emptyList();
/* 197:133 */     if (tmp3_0 == null) {
/* 198:133 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "getArtifactExtensionSerializers" }));
/* 199:    */     }
/* 200:133 */     return tmp3_0;
/* 201:    */   }
/* 202:    */   
/* 203:    */   @Nullable
/* 204:    */   public JpsModuleClasspathSerializer getClasspathSerializer()
/* 205:    */   {
/* 206:138 */     return null;
/* 207:    */   }
/* 208:    */   
/* 209:    */   @NotNull
/* 210:    */   public List<? extends JpsRunConfigurationPropertiesSerializer<?>> getRunConfigurationPropertiesSerializers()
/* 211:    */   {
/* 212:143 */     List tmp3_0 = Collections.emptyList();
/* 213:143 */     if (tmp3_0 == null) {
/* 214:143 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/serialization/JpsModelSerializerExtension", "getRunConfigurationPropertiesSerializers" }));
/* 215:    */     }
/* 216:143 */     return tmp3_0;
/* 217:    */   }
/* 218:    */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.jps.model.serialization.JpsModelSerializerExtension

 * JD-Core Version:    0.7.0.1

 */